package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;
import org.springblade.tms.global.anno.SelectEnum;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.enums
 * @className: BindEnum
 * @author: yr
 * @description: 绑定类型
 * @date: 2022/3/10 10:53
 */
@AllArgsConstructor
@Getter
@SelectEnum(value = "bind", desc = "绑定类型")
public enum BindEnum implements Enumerator {
	DRIVER("driver", "司机"),
	BIND_CAR("bindCar", "挂车"),
	CAR("car", "车辆"),
	TANK("tank", "坦克罐"),
	ESCORT("escort", "押运员"),
	BIND("bind", "绑定"),
	UNBIND("unbind", "解绑");

	private final String value;
	private final String description;

	@Override
	public String value() {
		return value;
	}

	@Override
	public String description() {
		return description;
	}
}
